<?php

/**
 * AdminController.class.php 博客应用后台管理基类
 * Created Time 2016年3月11日 下午5:35:16
 *
 * @author     codingyuan@163.com
 */
namespace Home\Common;

use System\Common\SystemController;

class AdminController extends SystemController {

    protected $identifier = 'blog';
    protected $contentTitle = '';
    protected $baseTitle = '博客管理';
    
    public function loadSystemView($templateFile = '', $charset = '', $contentType = '', $content = '', $prefix = '')
    {
        $basetitle = $this->baseTitle;
        if($this->contentTitle)
        {
            $basetitle = '-'.$this->baseTitle;
        }
        $this->system_title = $this->contentTitle.$basetitle;
        parent::loadSystemView($templateFile, $charset, $contentType, $content, $prefix);
    }
    
}